<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <title>内容管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

     <link rel="shortcut icon" href="../../../extends/img/favicon.ico" />
    <!-- Loading Bootstrap -->
    <link href="../../../extends/css/main.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="../../../assets/html5shiv.min.js"></script>
    <script src="../../../assets/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            "config": {
                "site": {
                    "name": "xshop",
                    "cdnurl": "../../../",
                    "version": "1.0.0",
                     "languages": {
                            "backend": "zh-cn",
                            "frontend": "zh-cn"
                      }
                },
                "upload": {
                    "cdnurl": "./",
                },
                "modulename": "biz",
                "controllername": "mainIndex",
                "actionname": "edit",
                "jsname": "main/js/biz/mainIndex",
                "moduleurl": "./",
                "language": "zh-cn",
                "referer": null
            }
        };
    </script>
</head>

<body class="inside-header inside-aside is-dialog">
       <div id="main" role="main">
           <div class="tab-content tab-addtabs">
               <div id="content">
                   <div class="row">
                       <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                           <div class="content">
		                        <form id="editForm" class="form-horizontal form-ajax" action="/mainIndex" role="form" method="post" data-toggle="validator">
		                        	<div id="errtips" class="hide"></div>
		                        	<input type="hidden" name="id" />
		                        	<input type="hidden" name="enable" />
		                        	
		                        	<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	<span class="text-danger">*</span>类别
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                        <select name="type" class="form-control selectpicker" data-rule="required">
	                                        </select>
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	<span class="text-danger">*</span>商家或商品编号
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="typeId" class="form-control" placeholder="请输入商家或商品编号" data-rule="required,digits">
	                                    	<div class="text-danger">类别为推荐商家时输入商家id，热卖、特价、限时抢购时输入商品id</div>
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	<span class="text-danger">*</span>名称
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="title" class="form-control" placeholder="请输入名称" data-rule="required">
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	子名称
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="subTitle" class="form-control" placeholder="请输入子名称">
	                                    </div>
	                                </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	图片
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                    	<span  class=" plupload" id="upload1"  data-input-id="imageUrl" data-preview-id="prev1" data-multiple="false"
										       data-url="/upload/temp/image" href="javascript:void(0);" data-mimetype='[{"extensions":"jpg,gif,png"}]'>
										        <a class="btn bg-teal add-btn">上传图片</a>
										    </span>
										    <span id="prev1"></span>
	                                        <input type="hidden" name="imageUrl" id="imageUrl">
	                                    </div>
	                                </div>
			
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
			                                排序
			                            </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
			                                <input type="text" name="sortNo" class="form-control" placeholder="请输入排序">
			                            </div>
			                        </div>
	                                
	                                <div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12">
	                                    <label class="control-label col-xs-3 col-sm-2 col-md-2 col-lg-2 text-right">
	                                    	备注
	                                    </label>
	                                    <div class="col-xs-8 col-sm-9 col-md-9 col-lg-9 no-padding">
	                                        <input type="text" name="remark" class="form-control" placeholder="请输入备注">
	                                    </div>
	                                </div>
		
		                            <div class="form-group layer-footer">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2"></label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9">
			                                <button type="reset" class="btn btn-default" id="reset">重置 <i
			                                        class="icon-reload-alt position-right"></i></button>
			                                <button type="submit" class="btn btn-primary submit disabled" disabled>提交 <i
			                                        class="icon-arrow-right14 position-right"></i></button>
			                             </div>
		                            </div>
		                        </form>
                           </div>
                       </div>
                   </div>
               </div>
           </div>
       </div>
	<!-- /页面容器 -->
    <script src="../../../assets/requirejs/require.js" data-main="../../../extends/js/main.js"></script>
</body>
</html>